(function ($) {
    $.extend($.summernote.lang, {
        'zh-CN': {
            font: {
                bold: '粗体',
                italic: '斜体',
                underline: '下划线',
                clear: '清除格式',
                height: '行高',
                name: '字体',
                strikethrough: '删除线',
                size: '字号'
            },
            image: {
                image: '图片',
                insert: '插入图片',
                resizeFull: '调整至 100%',
                resizeHalf: '调整至 50%',
                resizeQuarter: '调整至 25%',
                floatLeft: '左浮动',
                floatRight: '右浮动',
                floatCenter:'水平居中',
                floatNone: '不浮动',
                dragImageHere: '将图片拖至此处',
                selectFromFiles: '上传图片',
                url: '图片地址',
                dropImage:"图片拖拽至此处，支持png/jpg/gif",
            },
            video: {
                video: "视频上传",
                videoLink: "请写入视频链接",
                insert: "插入视频",
                url: "视频 URL",
                providers: "(阿里云, 腾讯云, 优酷, 腾讯视频等全网视频链接)"
            },
            link: {
                link: '链接',
                insert: '插入链接',
                unlink: '去除链接',
                edit: '编辑链接',
                textToDisplay: '显示文本',
                url: '链接地址',
                openInNewWindow: '在新窗口打开',
                useProtocol: "使用默认协议"
            },
            table: {
                table: '表格'
            },
            hr: {
                insert: '水平线'
            },
            style: {
                style: '样式',
                normal: '普通',
                blockquote: '引用',
                pre: '代码',
                h1: '标题 1',
                h2: '标题 2',
                h3: '标题 3',
                h4: '标题 4',
                h5: '标题 5',
                h6: '标题 6'
            },
            lists: {
                unordered: '无序列表',
                ordered: '有序列表'
            },
            options: {
                help: '快捷键帮助',
                fullscreen: '全屏',
                codeview: '源代码'
            },
            paragraph: {
                paragraph: '段落',
                outdent: '减少缩进',
                indent: '增加缩进',
                left: '左对齐',
                center: '居中对齐',
                right: '右对齐',
                justify: '两端对齐'
            },
            color: {
                recent: '最近使用',
                more: '更多',
                foreColorPicker:'选择颜色',
                select:'选择颜色',
                background: '背景',
                foreground: '前景',
                transparent: '透明',
                setTransparent: '透明',
                reset: '重置',
                resetToDefault: '默认',
                cpSelect: "选择"
            },
            shortcut: {
                shortcuts: '快捷键',
                close: '关闭',
                textFormatting: '文本格式',
                action: '动作',
                paragraphFormatting: '段落格式',
                documentStyle: '文档样式'
            },
            history: {
                undo: '撤销',
                redo: '重做'
            },
            help: {
                escape:"ESC",
                insertParagraph: "插入段落",
                undo: "撤销-上一步",
                redo: "重做-下一步",
                tab: "下一行输入",
                untab: "返回上一行输入",
                bold: "字体加粗",
                italic: "字体倾斜",
                underline: "字体下划线",
                strikethrough: "字体中划线",
                removeFormat: "清除字体样式",
                justifyLeft: "文字左对齐",
                justifyCenter: "文字居中对齐",
                justifyRight: "文字右对齐",
                justifyFull: "文字全景对齐",
                insertUnorderedList: "切换无序列表",
                insertOrderedList: "切换有序列表",
                outdent: "向后缩进",
                indent: "向前缩进",
                formatPara: "转为段落",
                formatH1: "标题1",
                formatH2: "标题2",
                formatH3: "标题3",
                formatH4: "标题4",
                formatH5: "标题5",
                formatH6: "标题6",
                insertHorizontalRule: "插入横向规则",
                "linkDialog.show": "显示链接模态框"
            },
        }
    });
})(jQuery);